package com.zhuqi.service;

import com.zhuqi.domain.ChatUser;

public interface ChatUserService  {


	int deleteByPrimaryKey(Integer id);

	int insert(ChatUser record);

	int insertSelective(ChatUser record);

	ChatUser selectByPrimaryKey(Integer id);

	int updateByPrimaryKeySelective(ChatUser record);

	int updateByPrimaryKey(ChatUser record);

	/**
	 * 登陆
	 * @param username 用户名
	 * @param password 密码
	 * @return 登录成功返回 true，否则返回 false
	 */
	boolean login(String username, String password);
}
